<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>

        // 数组：存储多个同类型数据
        // 对象：用来描述一类事物的特征(属性和方法)

        // 

        var person = {
            name: 'cc',
            age: 18
        }


        var cat = {
            type: '橘猫',
            color: 'yellow',
            say: function () {
                console.log('喵');
            }
        }


        var goods = {
            name: 'iphone',
            price: 799,
            des: '拍照真好看',
            xiaoLiang: 200000,
            imgSrc: '',
            name: 'android'
        }

        console.log(goods);

    </script>

</body>

</html>